/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.osdtsystem.dataset;

import java.util.Iterator;

/**
 * Interface for data set iterators.
 * @author matthias
 */
public interface DatasetIterator extends Iterator<Integer> {
    /**
     * Skip forward in the collection. Stops when the iterator reaches the first
     * position where the next element is not below the threshold, or there are no
     * more elements left in the collection.
     * @param threshold the threshold
     */
    public void skipUntil(int threshold);
}
